package cn.smbms.pojo;

public class Comments {
	private int CID;
	private String cntent; // 评论内容
	private String cdate;// 评论时间
	private int pid;// 商品表对应id
	private int userid;// 用户表对应id
	private int xin;// 评论星级（最大5个星）
	private int orderdetaid;// 订单列表id
	private int anonymity;// 是否匿名 1.匿名2.不匿名
	private User user;
	private Order_detail order_detail;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Order_detail getOrder_detail() {
		return order_detail;
	}

	public void setOrder_detail(Order_detail order_detail) {
		this.order_detail = order_detail;
	}

	public int getAnonymity() {
		return anonymity;
	}

	public void setAnonymity(int anonymity) {
		this.anonymity = anonymity;
	}

	public int getOrderdetaid() {
		return orderdetaid;
	}

	public void setOrderdetaid(int orderdetaid) {
		this.orderdetaid = orderdetaid;
	}

	// get set方法
	public int getCID() {
		return CID;
	}

	public void setCID(int cID) {
		CID = cID;
	}

	public String getCntent() {
		return cntent;
	}

	public void setCntent(String cntent) {
		this.cntent = cntent;
	}

	public String getCdate() {
		return cdate;
	}

	public void setCdate(String cdate) {
		this.cdate = cdate;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getXin() {
		return xin;
	}

	public void setXin(int xin) {
		this.xin = xin;
	}
}
